import { Component } from '@angular/core';

/**
 * Research main component
 *
 * Author: Sorin Spiru
 * Date: 13.01.2018
 */
@Component({
    template: `
        <nav-menu [routes]="routes" [menuLevel]="1"></nav-menu>
        <router-outlet></router-outlet>
    `,
    styleUrls: ['./research.component.scss'],
})
export class ResearchComponent{
    public routes: any[];

    constructor(){
        this.routes = [
            {
                title: 'Research Overview',
                path: 'overview',
                menuLevel: 1
            },
            {
                title:'Risk Rating',
                path:'risk',
                menuLevel: 1
            },
            {
                title: 'Global Compact',
                path: 'globalcompact',
                menuLevel: 1
            }
            ,
            {
                title: 'Esg Rating',
                path: 'esg',
                menuLevel: 1
            }
        ];
    }
  }